<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta name="description" content="hu nan xiang ya yi yuan men zhen xi tong "/>
    <meta name="author" content="Han Yuping, Zhang Di">
    <meta name="robots" content="index,follow">
    <meta name="application-name" content="medical system">

    <link rel='stylesheet' href='../assets/css/fullcalendar.css'>
    <link rel='stylesheet' href='../assets/css/datatables/datatables.css'>
    <link rel='stylesheet' href='../assets/css/datatables/bootstrap.datatables.css'>
    <link rel='stylesheet' href='../assets/css/bootstrap-datetimepicker.min.css'>
    <link rel='stylesheet' href='../assets/scss/chosen.css'>
    <link rel='stylesheet' href='../assets/scss/font-awesome/font-awesome.css'>
    <link rel='stylesheet' href='../assets/css/app.css'>
    <link rel='stylesheet' href='../assets/css/reset.css'>

    <!-- Le fav and touch icons -->
    <link href="../assets/favicon.ico" rel="shortcut icon" type="image/x-icon">
    <link href="../assets/apple-touch-icon.png" rel="apple-touch-icon" type="image/x-icon">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    @javascript html5shiv respond.min
    <![endif]-->
    <title>测试病人信息登记</title>
</head>
<body>

<div class="all-wrapper">
    <div class="row">
        <div class="col-md-3">
            <div class="text-center">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="side-bar-wrapper collapse navbar-collapse navbar-ex1-collapse">
                <a href="#" class="logo hidden-sm hidden-xs">
                    <i class="icon-user-md"></i>
                    <span>张医生</span>
                </a>

                <div class="relative-w">
                    <ul class="side-menu">
                        <li class='current'>
                            <a href="project-lib.html">
                                <span class="badge pull-right">18</span>
                                <i class="icon-file-text"></i> 课题库
                            </a>
                        </li>
                        <li>
                            <a href="patient-list.html">
                                <span class="badge pull-right">32</span>
                                <i class="icon-group"></i> 患者
                            </a>
                        </li>
                        <li>
                            <a href="sample-lib.html">
                                <span class="badge pull-right">300</span>
                                <i class="icon-bar-chart"></i> 样本库
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="col-md-9">
            <div class="content-wrapper wood-wrapper">
                <div class="content-inner">
                    <div class="page-header">
                        <div class="header-links hidden-xs">
                            <a href="notifications.html"><i class="icon-comments"></i> 消息</a>
                            <a href="../login-admin.html"><i class="icon-signout"></i> 登出</a>
                        </div>
                        <h1><i class="icon-calendar-empty"></i> 测试病人“王老五”信息登记</h1>
                    </div>
                    <ol class="breadcrumb">
                        <li><a href="project-one-complete.html">课题4</a></li>
                        <li><a href="patient.html">添加病人信息1</a></li>
                        <li class="active">添加病人信息2</li>
                    </ol>

                    <div class="main-content">
                        <div class="row">

                            <div class="widget">
                                <div class="widget-content-white glossed">
                                    <div class="padded">

                                        <h3 class="form-title form-title-first"><i class="icon-calendar"></i>
                                            现病史</h3>

                                        <form action="" role="form" class="form-horizontal">
                                            <!-- 此处为首次起病时间及年龄-->
                                            <div class="form-group">
                                                <label class="col-md-2 control-label">首次起病时间：</label>

                                                <div id="birthday" class="input-group date form_date col-md-3"
                                                     data-date=""
                                                     data-date-format="dd MM yyyy" data-link-field="dtp-firsttime"
                                                     data-link-format="yyyy-mm-dd">
                                                    <input class="form-control" size="16" type="text" value="" readonly>
                                                <span class="input-group-addon"><span
                                                        class="glyphicon glyphicon-calendar"></span></span>
                                                </div>
                                                <input type="hidden" id="dtp-firsttime" value=""/><br/>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-md-2 control-label">首次起病年龄：</label>

                                                <div class="col-md-2">
                                                    <input type="number" class="form-control">
                                                </div>
                                                <label class="col-md-1 control-label left">岁</label>
                                            </div>
                                            <!--总病程及住院次数-->
                                            <div class="form-group">
                                                <label class="col-md-2 control-label">总病程：</label>

                                                <div class="col-md-1">
                                                    <input type="number" class="form-control" placeholder="0">
                                                </div>
                                                <label class="col-md-1 control-label left">年</label>

                                                <div class="col-md-1">
                                                    <input type="number" class="form-control" placeholder="0">
                                                </div>
                                                <label class="col-md-1 control-label left">月</label>

                                                <div class="col-md-1">
                                                    <input type="number" class="form-control" placeholder="0">
                                                </div>
                                                <label class="col-md-1 control-label left">周</label>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-md-2 control-label">住院次数：</label>

                                                <div class="col-md-1">
                                                    <input type="number" class="form-control" placeholder="0">
                                                </div>
                                                <label class="col-md-1 control-label left" value="1">次</label>
                                            </div>
                                            <!-- 此处是最后一次住院原因-->
                                            <div class="form-group">
                                                <label class="col-md-2 control-label">最后一次住院原因</label>

                                                <div class="col-md-10">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="reason" id="reason1"
                                                                   value="option1">
                                                            患者自认为自己无病，自行停药。
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="reason" id="reason2"
                                                                   value="option2">
                                                            患者自认为病情好转，自行减药。
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="reason" id="reason3"
                                                                   value="option1">
                                                            家属认为患者病情好转，给患者停药。
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="reason" id="reason4"
                                                                   value="option1">
                                                            家属认为患者病情好转，给患者减药。
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="reason" id="reason5"
                                                                   value="option1">
                                                            家属认为治疗无效，给患者停药。
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>


                                            <!--既往治疗情况汇总-->
                                            <div class="form-group">
                                                <label class="col-md-2 control-label">既往治疗情况汇总</label>
                                                <div class="col-md-10">
                                                    <a class="btn btn-default btn-sm pretreatment-addrow"><i
                                                            class="icon-plus-sign"></i>增加一类药物
                                                    </a>
                                                    &nbsp;
                                                    <a class="btn btn-default btn-sm pretreatment-delrow"><i
                                                            class="icon-minus-sign"></i>取消一类药物
                                                    </a>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <table class="table" id="pretreatment_table">
                                                        <thead>
                                                        <tr>
                                                            <th>服药时间</th>
                                                            <th>药物名称</th>
                                                            <th>用法剂量(mg/天)</th>
                                                            <th>是否规律服药</th>
                                                            <th>药物副反应</th>
                                                            <th>疗效</th>
                                                        </tr>
                                                        </thead>
                                                        <tbody>
                                                        <tr class="one-row">
                                                            <td>
                                                                <input size="16" type="text" class="form-control form_datetime" readonly>
                                                            </td>
                                                            <td>
                                                                <select class="form-control">
                                                                    <option>利培酮</option>
                                                                    <option>奥氮平</option>
                                                                    <option>喹硫平</option>
                                                                    <option>氯氮平</option>
                                                                    <option>啊立哌唑</option>
                                                                    <option>齐拉西酮</option>
                                                                    <option>舒必利</option>
                                                                    <option>氟哌啶醇</option>
                                                                    <option>9-羟基-利培酮</option>
                                                                    <option>其他</option>
                                                                </select>
                                                            </td>
                                                            <td>
                                                                <input class="form-control" type="number"/>
                                                            </td>
                                                            <td>
                                                                <div class="radio">
                                                                    <label>
                                                                        <input type="radio" name="takedrug"
                                                                               value="1" checked>
                                                                        是
                                                                    </label>
                                                                </div>
                                                                <div class="radio">
                                                                    <label>
                                                                        <input type="radio" name="takedrug"
                                                                               value="0">
                                                                        否
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td><input type="text" class="form-control"></td>
                                                            <td>
                                                                <div class="radio">
                                                                    <label>
                                                                        <input type="radio" name="drugEffective"
                                                                               value="1">
                                                                        完全有效
                                                                    </label>
                                                                </div>
                                                                <div class="radio">
                                                                    <label>
                                                                        <input type="radio" name="drugEffective"
                                                                               value="2">
                                                                        部分有效
                                                                    </label>
                                                                </div>
                                                                <div class="radio">
                                                                    <label>
                                                                        <input type="radio" name="drugEffective"
                                                                               value="3">
                                                                        无效
                                                                    </label>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>

                                            <h3 class="form-title form-title-first"><i class="icon-calendar"></i>
                                                既往病史</h3>

                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="pastDisease"
                                                                   value="0" checked="checked">
                                                            既往体健，无重大躯体疾病
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="pastDisease"
                                                                   value="cardiovascular">
                                                            心血管系统曾患疾病
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="form-group sub-group" style="display:none" id="cardiovascular">
                                                <div class="col-md-offset-1 col-md-11">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="cardiovascularType"
                                                                   value="1">
                                                            高血压
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="cardiovascularType"
                                                                   value="2">
                                                            心脏病
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="cardiovascularType"
                                                                   value="3">
                                                            心率失常
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="cardiovascularType"
                                                                   value="4">
                                                            其他
                                                        </label>
                                                    </div>
                                                    <h4>躯体疾病结局：</h4>

                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="cardiovascularResult"
                                                                   value="1">
                                                            1.痊愈，无需继续服药
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="cardiovascularResult"
                                                                   value="2">

                                                            2.不稳定，未服药控制
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <input type="radio" name="cardiovascularResult"
                                                               value="3">
                                                        <label>
                                                            3.好转，长期服药控制
                                                        </label>
                                                    </div>
                                                    <div class="col-md-10">
                                                        <table class="table">
                                                            <tbody>
                                                            <tr>
                                                                <td>服用药物名称</td>
                                                                <td><input type="text"></td>
                                                                <td>
                                                                    <a class="btn btn-default btn-xs addrow"><i
                                                                            class="icon-plus-sign"></i>增加一类药物
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="pastDisease"
                                                                   value="digestive">
                                                            消化系统曾患疾病
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group sub-group" style="display:none" id="digestive">
                                                <div class="col-md-offset-1 col-md-11">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="digestiveType"
                                                                   value="1">
                                                            胃溃疡
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="digestiveType"
                                                                   value="2">
                                                            溃疡性结肠炎
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="digestiveType"
                                                                   value="3">
                                                            其他
                                                        </label>
                                                    </div>
                                                    <h4>躯体疾病结局：</h4>

                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="digestiveResult"
                                                                   value="1">
                                                            1.痊愈，无需继续服药
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="digestiveResult"
                                                                   value="2">

                                                            2.不稳定，未服药控制
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <input type="radio" name="digestiveResult"
                                                               value="3">
                                                        <label>
                                                            3.好转，长期服药控制
                                                        </label>
                                                    </div>
                                                    <div class="col-md-10">
                                                        <table class="table">
                                                            <tbody>
                                                            <tr>
                                                                <td>服用药物名称</td>
                                                                <td><input type="text"></td>
                                                                <td>
                                                                    <a class="btn btn-default btn-xs addrow"><i
                                                                            class="icon-plus-sign"></i>增加一类药物
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="pastDisease"
                                                                   value="endocrine">
                                                            内分泌系统曾患疾病
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group sub-group" style="display:none" id="endocrine">
                                                <div class="col-md-offset-1 col-md-11">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="endocrineType"
                                                                   value="1">
                                                            糖尿病
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="endocrineType"
                                                                   value="2">
                                                            甲亢
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="endocrineType"
                                                                   value="3">
                                                            甲低
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="endocrineType"
                                                                   value="4">
                                                            库欣综合症
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="endocrineType"
                                                                   value="4">
                                                            其他
                                                        </label>
                                                    </div>
                                                    <h4>躯体疾病结局：</h4>

                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="endocrineResult"
                                                                   value="1">
                                                            1.痊愈，无需继续服药
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="endocrineResult"
                                                                   value="2">

                                                            2.不稳定，未服药控制
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <input type="radio" name="endocrineResult"
                                                               value="3">
                                                        <label>
                                                            3.好转，长期服药控制
                                                        </label>
                                                    </div>
                                                    <div class="col-md-10">
                                                        <table class="table">
                                                            <tbody>
                                                            <tr>
                                                                <td>服用药物名称</td>
                                                                <td><input type="text"></td>
                                                                <td>
                                                                    <a class="btn btn-default btn-xs addrow"><i
                                                                            class="icon-plus-sign"></i>增加一类药物
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="pastDisease"
                                                                   value="respiratory">
                                                            呼吸系统曾患疾病
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group sub-group" style="display:none" id="respiratory">
                                                <div class="col-md-offset-1 col-md-11">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="respiratoryType"
                                                                   value="1">
                                                            哮喘
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="respiratoryType"
                                                                   value="2">
                                                            慢性阻塞性肺疾病
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="respiratoryType"
                                                                   value="3">
                                                            其他
                                                        </label>
                                                    </div>
                                                    <h4>躯体疾病结局：</h4>

                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="respiratoryResult"
                                                                   value="1">
                                                            1.痊愈，无需继续服药
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="respiratoryResult"
                                                                   value="2">

                                                            2.不稳定，未服药控制
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <input type="radio" name="respiratoryResult"
                                                               value="3">
                                                        <label>
                                                            3.好转，长期服药控制
                                                        </label>
                                                    </div>
                                                    <div class="col-md-10">
                                                        <table class="table">
                                                            <tbody>
                                                            <tr>
                                                                <td>服用药物名称</td>
                                                                <td><input type="text"></td>
                                                                <td>
                                                                    <a class="btn btn-default btn-xs addrow"><i
                                                                            class="icon-plus-sign"></i>增加一类药物
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>


                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="pastDisease"
                                                                   value="nervous">
                                                            神经系统曾患疾病
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group sub-group" style="display:none" id="nervous">
                                                <div class="col-md-offset-1 col-md-11">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="nervousType"
                                                                   value="1">
                                                            癫痫
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="nervousType"
                                                                   value="2">
                                                            头颅外伤
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="nervousType"
                                                                   value="3">
                                                            细菌/病毒性脑炎
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="nervousType"
                                                                   value="4">
                                                            其他
                                                        </label>
                                                    </div>
                                                    <h4>躯体疾病结局：</h4>

                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="nervousResult"
                                                                   value="1">
                                                            1.痊愈，无需继续服药
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="nervousResult"
                                                                   value="2">

                                                            2.不稳定，未服药控制
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <input type="radio" name="nervousResult"
                                                               value="3">
                                                        <label>
                                                            3.好转，长期服药控制
                                                        </label>
                                                    </div>
                                                    <div class="col-md-10">
                                                        <table class="table">
                                                            <tbody>
                                                            <tr>
                                                                <td>服用药物名称</td>
                                                                <td><input type="text"></td>
                                                                <td>
                                                                    <a class="btn btn-default btn-xs addrow"><i
                                                                            class="icon-plus-sign"></i>增加一类药物
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>


                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="pastDisease"
                                                                   value="immune">
                                                            风湿免疫系统曾患疾病
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group sub-group" style="display:none" id="immune">
                                                <div class="col-md-offset-1 col-md-11">
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="immuneType"
                                                                   value="1">
                                                            系统性红斑狼疮
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="immuneType"
                                                                   value="2">
                                                            类风湿性关节炎
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="immuneType"
                                                                   value="3">
                                                            痛风
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="immuneType"
                                                                   value="4">
                                                            其他
                                                        </label>
                                                    </div>
                                                    <h4>躯体疾病结局：</h4>

                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="immuneResult"
                                                                   value="1">
                                                            1.痊愈，无需继续服药
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <label>
                                                            <input type="radio" name="immuneResult"
                                                                   value="2">

                                                            2.不稳定，未服药控制
                                                        </label>
                                                    </div>
                                                    <div class="radio">
                                                        <input type="radio" name="immuneResult"
                                                               value="3">
                                                        <label>
                                                            3.好转，长期服药控制
                                                        </label>
                                                    </div>
                                                    <div class="col-md-10">
                                                        <table class="table">
                                                            <tbody>
                                                            <tr>
                                                                <td>服用药物名称</td>
                                                                <td><input type="text"></td>
                                                                <td>
                                                                    <a class="btn btn-default btn-xs addrow"><i
                                                                            class="icon-plus-sign"></i>增加一类药物
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>

                                            <!-- 此处为“下一页”标签-->
                                            <h3 class="section-title">&nbsp;</h3>
                                            <div class="form-group">
                                                <div class="col-md-offset-4 col-md-8">
                                                    <a role="button" class="btn btn-primary btn-lg btn-round" href="patient.html">上一页</a>
                                                    &nbsp;&nbsp;
                                                    <a role="button" class="btn btn-primary btn-lg btn-round" href="patient3.html">下一页</a>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<script src="../libs/jquery/1.10.2/jquery.min.js"></script>
<script src="../libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src='../assets/js/jquery.sparkline.min.js'></script>
<script src='../assets/js/bootstrap/bootstrap.min.js'></script>
<script src='../assets/js/jquery.knob.js'></script>
<script src='../assets/js/jquery.hotkeys.js'></script>
<script src='../assets/js/bootstrap-wysiwyg.js'></script>
<script src='../assets/js/bootstrap-datetimepicker.min.js'></script>

<script>
    //日期选择器
    $('#birthday').datetimepicker({
        format: 'yyyy-mm-dd',
        language:       'fr',
        weekStart:      1,
        todayBtn:       1,
        autoclose:      1,
        todayHighlight: 1,
        startView:      2,
        minView:        2,
        forceParse:     0
    });

    $(".form_datetime").datetimepicker({
        format: 'yyyy-mm-dd',
        language:       'fr',
        weekStart:      1,
        todayBtn:       1,
        autoclose:      1,
        todayHighlight: 1,
        startView:      2,
        minView:        2,
        forceParse:     0
    });
    //既往治疗情况汇总
    $(".pretreatment-addrow").click(function(){
        var tpl = $(".one-row:first-of-type").clone();
        $("#pretreatment_table tbody").append(tpl);
    })
    $(".pretreatment-delrow").click(function(){
        if($(".one-row").length > 1){
            $(".one-row:last-of-type").remove();
        }
    })

    //既往病史
    $(".addrow").click(function () {
        var tpl = '<tr><td>服用药物名称</td><td><input type="text"></td><td></td></tr>';
        $(this).closest("table").append(tpl);
    })

    $('input[name="pastDisease"]').click(function () {
        var type = $(this).val();
        $('.sub-group').slideUp();
        $("#" + type).slideDown();
    })
</script>

</body>
</html>